﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.Text;

namespace NP.BPMReportPlatform.Entities.BPM_Platform
{
    /// <summary>
    /// 员工三方变更合同
    /// </summary>
    [SugarTable("UserContractTripartiteAgreement")]
    public class UserContractTripartiteAgreementEntity
    {
        /// <summary>
        /// 主键
        /// </summary>
        [SugarColumn(IsPrimaryKey = true)]
        public string Id { get; set; }

        /// <summary>
        /// 甲方编码
        /// </summary>
        public string PartyACode { get; set; }

        /// <summary>
        /// 甲方名称
        /// </summary>
        public string PartyAName { get; set; }

        /// <summary>
        /// 甲方地址
        /// </summary>
        public string PartyAAddress { get; set; }

        /// <summary>
        /// 甲方法人
        /// </summary>
        public string PartyALegalPerson { get; set; }

        /// <summary>
        /// 乙方编码
        /// </summary>
        public string PartyBCode { get; set; }

        /// <summary>
        /// 乙方名称
        /// </summary>
        public string PartyBName { get; set; }

        /// <summary>
        /// 乙方地址
        /// </summary>
        public string PartyBAddress { get; set; }

        /// <summary>
        /// 乙方证件码
        /// </summary>
        public string PartyBCardNo { get; set; }

        /// <summary>
        /// 丙方编码
        /// </summary>
        public string PartyCCode { get; set; }

        /// <summary>
        /// 丙方名称
        /// </summary>
        public string PartyCName { get; set; }

        /// <summary>
        /// 丙方地址
        /// </summary>
        public string PartyCAddress { get; set; }

        /// <summary>
        /// 丙方法人
        /// </summary>
        public string PartyCLegalPerson { get; set; }

        /// <summary>
        /// 原合同编号
        /// </summary>
        public string OriginalContractCode { get; set; }

        /// <summary>
        /// 原合同开始日期
        /// </summary>
        public DateTime? OriginalContractStartDate { get; set; }

        /// <summary>
        /// 原合同结束日期
        /// </summary>
        public DateTime? OriginalContractEndDate { get; set; }

        /// <summary>
        /// 变更合同协议号
        /// </summary>
        public string ChangeContractCode { get; set; }

        /// <summary>
        /// 合同变更日期
        /// </summary>
        public DateTime? ContractChangeDate { get; set; }

        /// <summary>
        /// 合同变更状态
        /// </summary>
        public int? ChangeStatus { get; set; }

        /// <summary>
        /// 合同变更状态
        /// </summary>
        public string ChangeStatusName { get; set; }

        /// <summary>
        /// 创建人
        /// </summary>
        public string CreateUser { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime? CreateDate { get; set; }

        /// <summary>
        /// 创建人工号
        /// </summary>
        public string CreateWorkNumber { get; set; }

        /// <summary>
        /// 电子签文档id
        /// </summary>
        public string FileKey { get; set; }

        /// <summary>
        /// 电子签流程id
        /// </summary>
        public string SignFlowId { get; set; }

        /// <summary>
        /// 签署结果描述
        /// </summary>
        public string SignErrorMsg { get; set; }

        /// <summary>
        /// SF推送日期
        /// </summary>
        public DateTime? SFPushDate { get; set; }

        /// <summary>
        /// SF推送状态
        /// </summary>
        public int SFPushStatus { get; set; }

        /// <summary>
        /// 推送失败原因
        /// </summary>
        public string SFPushErrorMsg { get; set; }

        /// <summary>
        /// 手机号码
        /// </summary>
        [SugarColumn(IsIgnore = true)]
        public string Mobile { get; set; }
    }
}
